(have) a trick up (one's) sleeve

Translations
avoir plus d'un tour dans son sac
Definitions
To have a secret plan, idea, or advantage that can be used if needed, often to gain an advantage or solve a problem unexpectedly.